﻿using BasicInformation.Dtos;
using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiRead.Application.Command.Supplier
{
    public class GetSupplierCommand:IRequest<ApiPaging<SupplierDTO>>
    {
        public int index { get; set; } = 1;
        public int size { get; set; } = 15;
        /// <summary>
        /// 供应商编号(自动生产)
        /// </summary>
        public string? SupplierCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }
        /// <summary>
        /// 供应商类型Id
        /// </summary>
        public int? STyprId { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? SupplierTel { get; set; }
    }
}
